package cn.nebula.music.dao;

import java.sql.Date;
import java.util.Set;

import org.springframework.stereotype.Repository;

import cn.nebula.music.domain.Songlist;

@Repository
public interface SonglistDAO {
	public Set<Songlist> findAllSonglists();

	public Set<Songlist> findAllSonglistsOfBT();

	public Songlist findSonglistById(Integer id);

	public Set<Songlist> findSonglistsByName(String name);

	public Set<Songlist> findSonglistsByUpdatetime(Date updatetime);

	public Set<Songlist> findSonglistSByUser(Integer userId);

	public Integer addSonglist(Songlist songlist);

	public Integer updateSonglist(Songlist songlist);

	public Integer deleteSonglistById(Integer id);
}
